<ui:composition template="/admin/templates/ui2.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:composite="http://java.sun.com/jsf/composite/primefaces"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:archer="http://java.sun.com/jsf/archer"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:c="http://java.sun.com/jsp/jstl/core">
	<f:metadata>
		<f:viewParam name="thisId" value="#{fileUploadExcelHome.thisId}"></f:viewParam>
	</f:metadata>

	<ui:define name="content">
		<div class="entry">
			<p:toolbar styleClass="admin-nav-toolbar">
				<p:toolbarGroup>
					<h:outputLabel
						value="#{commonMsg.currentPositionLabel} 员工考勤编辑"></h:outputLabel>
				</p:toolbarGroup>
				<p:toolbarGroup align="right">
					<p:separator />
					<p:button outcome="/admin/checktime/EmployeesClockList"
						value="员工考勤"></p:button>
				</p:toolbarGroup>
			</p:toolbar>
			<p:spacer></p:spacer>
			<h:form id="form">
				
				<h:panelGrid columns="2" columnClasses="col1,col2" id="panel">
					<h:outputText value="员工工号"></h:outputText>                	
                    <h:outputText  value="#{fileUploadExcelHome.instance.jobnum}"></h:outputText>
                    
                    <h:outputText value="日期 "></h:outputText>                	
                    <h:outputText  value="#{fileUploadExcelHome.instance.check_year}-#{fileUploadExcelHome.instance.check_month}-#{fileUploadExcelHome.instance.check_day}" style="width:190px;height:18px;"></h:outputText>
                                            
                	<h:outputText value="名字"></h:outputText>                	
                    <h:outputLabel value="#{fileUploadExcelHome.instance.jobname}" style="width:190px;height:18px;" ></h:outputLabel>
                
                	<h:outputText value="部门"></h:outputText>                	
                    <h:outputText  value="#{fileUploadExcelHome.instance.department}" style="width:190px;height:18px;" ></h:outputText>
                
                	<h:outputText value="上班打卡时间"></h:outputText>                	
                    <h:outputText  value="#{fileUploadExcelHome.instance.mintime}" style="width:190px;height:18px;"></h:outputText>
               
                	<h:outputText value="下班打卡时间"></h:outputText>                	
                    <h:outputText  value="#{fileUploadExcelHome.instance.maxtime}" style="width:190px;height:18px;"></h:outputText>
                    
                	<h:outputText value="打卡的状态"></h:outputText>   
                	<h:panelGroup>
                	<h:outputText value="#{fileUploadExcelHome.instance.checkstatus}" style="width:190px;height:18px;"/>      
                	<h:selectManyCheckbox value="#{fileUploadExcelHome.checkstatus}" id="checkstatus">
                		<f:selectItem itemValue="早上忘记打卡" itemLabel="早上忘记打卡"></f:selectItem>
                		<f:selectItem itemValue="迟到超过1个小时" itemLabel="迟到超过1个小时"></f:selectItem>
                		<f:selectItem itemValue="晚上忘记打卡" itemLabel="晚上忘记打卡"></f:selectItem>
                		<f:selectItem itemValue="早退" itemLabel="早退"></f:selectItem>
                		<f:selectItem itemValue="迟到" itemLabel="迟到"></f:selectItem>
                		<f:selectItem itemValue="正常打卡" itemLabel="正常打卡"></f:selectItem>
                		<f:selectItem itemValue="事假" itemLabel="事假"></f:selectItem>
                		<f:selectItem itemValue="病假" itemLabel="病假"></f:selectItem>
                		<f:selectItem itemValue="串休" itemLabel="串休"></f:selectItem>
                		<f:selectItem itemValue="旷工" itemLabel="旷工"></f:selectItem>
                	</h:selectManyCheckbox> </h:panelGroup>
               
                	<h:outputText value="打卡的状态说明"></h:outputText>                	
                    <h:outputText value="#{fileUploadExcelHome.instance.statusinstruction}" style="width:190px;height:18px;"/>                       	
                

					<h:outputLabel value="#{commonMsg.actionLabel}"></h:outputLabel>
					<ui:fragment>
						<p:commandButton id="saveBtn" action="#{fileUploadExcelHome.save()}"
							ajax="false" value="#{commonMsg.saveLabel}"></p:commandButton>
						<p:commandButton type="reset" value="#{commonMsg.resetLabel}"></p:commandButton>
						<p:blockUI block="panel" trigger="saveBtn" />
					</ui:fragment>
				</h:panelGrid>

			</h:form>
		</div>
	</ui:define>
</ui:composition>

